package com.task.job;

import java.time.LocalDateTime;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Author Tanyu
 * @Date 2020/6/11 15:25
 * @Description
 * @Version 1.0
 */
@Component
public class ScheduelJob {

  public void task(){
    System.out.println("现在是quartz在执行定时任务："+ LocalDateTime.now());
  }
}
